package page;

/**
 * Created by as on 2016/11/16.
 */
public class Book2 {
    static String label;
    String name;
    void detaile(int chapter)
    {
        System.out.println("书店名：" + this.label);
        System.out.println("书名：" + name);
        System.out.println("章数：" + chapter);

        for (int i=1; i<chapter; i++)
        {
            System.out.println("第" + i + "章");
        }
    }
}
